﻿<%@ page title="" language="C#" masterpagefile="~/Page/MasterPage.master" autoeventwireup="true" inherits="Page_Register_RegisterOfExpert, App_Web_registerofexpert.aspx.ee5a53de" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../../CSS/PageStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="FrameStyle">
        <div class="PageTitleStyle">
            <asp:Image ID="bgpicRegisterExpertsTop" runat="server" ImageUrl="~/Images/Register/bgpicRegisterExpertTop.png" />
        </div>
        <div id="SignUp">
            <div class="TopStyle" style="color:#CC0000;">
                Sign Up for Your New Account
            </div>
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <table cellspacing="6" class="TableStyle">
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            User Name:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterExpertUserName" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertuserName" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="txtRegisterExpertUserName"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Password:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterExpertPassword" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" 
                                CssClass="TextboxStyle" TextMode="Password"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertPassword" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="txtRegisterExpertPassword"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Password
                            Confirm:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterExpertConfirm" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" 
                                CssClass="TextboxStyle" TextMode="Password"></asp:TextBox>
                            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                                ControlToCompare="txtRegisterExpertPassword" 
                                ControlToValidate="txtRegisterExpertConfirm" Display="Dynamic" 
                                ErrorMessage="The password do not match! " Font-Size="Small" 
                                CssClass="ValidatorStyle"></asp:CompareValidator>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertConrirm" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="txtRegisterExpertConfirm"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            E-mail:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterExpertEmail" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                ControlToValidate="txtRegisterExpertEmail" Display="Dynamic" 
                                ErrorMessage="Format: XX@XX.com" Font-Size="Small" 
                                ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                                CssClass="ValidatorStyle"></asp:RegularExpressionValidator>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertEmail" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="txtRegisterExpertEmail"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Security Question:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterExpertSecurityQuestion" Width="265px"
                                BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertSecurityQuestion" 
                                runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="txtRegisterExpertSecurityQuestion"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Security Answer:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterExpertSecurityAnswer" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertSecurityAnswer" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="txtRegisterExpertSecurityAnswer"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="bgBottom">
            </div>
        </div>
        <div class="ButtonAndBlankStyle">
        </div>
        <div id="EditInfo">
            <div class="TopStyle" style="color:#CC0000;">
                Edit Your Information
            </div>
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <table cellspacing="6" class="TableStyle">
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            First Name:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterExpertFirstName" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertFirstName" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="txtRegisterExpertFirstName"></asp:RequiredFieldValidator>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Last Name:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterExpertLastName" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertLastName" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="txtRegisterExpertLastName"></asp:RequiredFieldValidator>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Phone:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterExpertPhone" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                ControlToValidate="txtRegisterExpertPhone" Display="Dynamic" 
                                ErrorMessage="Wrong phone number type!" Font-Size="Small" 
                                ValidationExpression="[1][3-8]\d{9}" CssClass="ValidatorStyle"></asp:RegularExpressionValidator>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertPhone" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="txtRegisterExpertPhone"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Address:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterExpertAddress" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertAddress" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="txtRegisterExpertAddress"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            City:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterExpertCity" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertCity" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="txtRegisterExpertCity"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            State/Province:
                        </td>
                        <td>
                            <asp:DropDownList ID="listRegisterExpertState_Province" runat="server" 
                                Width="268px" CssClass="DropDownListStyle">
                                <asp:ListItem>California</asp:ListItem>
                                <asp:ListItem>Colorado</asp:ListItem>
                                <asp:ListItem>Hawaii</asp:ListItem>
                                <asp:ListItem>Louisiana</asp:ListItem>
                                <asp:ListItem>Massachusetts</asp:ListItem>
                                <asp:ListItem>Nevada</asp:ListItem>
                                <asp:ListItem>New Jersey</asp:ListItem>
                                <asp:ListItem>Virginia</asp:ListItem>
                                <asp:ListItem>Washington</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertStateProvince" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="listRegisterExpertState_Province"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Postal Code:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterExpertPostalCode" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                                ControlToValidate="txtRegisterExpertPostalCode" Display="Dynamic" 
                                ErrorMessage="Wrong postal code type!" Font-Size="Small" 
                                ValidationExpression="[1-9]\d{5}(?!\d)" CssClass="ValidatorStyle"></asp:RegularExpressionValidator>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertPostalCode" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="txtRegisterExpertPostalCode"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Expert Type:
                        </td>
                        <td>
                            <asp:DropDownList ID="listRegisterExpertExpertType" runat="server" Width="268px"
                                CssClass="DropDownListStyle">
                                <asp:ListItem>Telephony Expert</asp:ListItem>
                                <asp:ListItem>Web Designer</asp:ListItem>
                                <asp:ListItem>Dancing Teacher</asp:ListItem>
                                <asp:ListItem>Computer Expert</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertExpertType" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="listRegisterExpertExpertType"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150" valign="top">
                            Introduce:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterExpertIntroduce" Width="265px" Height="80px"
                                TextMode="MultiLine" BorderColor="Black" BorderStyle="Solid" 
                                BorderWidth="1px" CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td valign="top">
                            <asp:RequiredFieldValidator ID="rfvRegisterExpertIntroduce" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" 
                                ControlToValidate="listRegisterExpertExpertType"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="bgBottom">
            </div>
        </div>
        <div class="ButtonAndBlankStyle">
            <table>
                <tr>
                    <td width="360px">
                    </td>
                    <td width="85px">
                        <asp:ImageButton ID="btnRegisterExpertPrevious" runat="server" ImageUrl="~/Images/btnPublicPrevious.png"
                            OnClick="btnRegisterExpertPrevious_Click" CausesValidation="False" />
                    </td>
                    <td width="85px">
                        <asp:ImageButton ID="btnRegisterExpertNext" runat="server" ImageUrl="~/Images/btnPublicNext.png"
                            OnClick="btnRegisterExpertNext_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
